/* Pet.css */
.pet-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    padding: 40px;
    min-height: 100vh;
    background-image: url('../img/background2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.slider-container {
    width: 45%;
    height: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.slider-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

/* 修改后的右侧信息框样式 */
.info-container {
    margin-top: 10%;
    width: 40%;
    display: flex;
    flex-direction: column;
    font-family: 'Comic Sans MS', 'Marker Felt', 'Apple Chancery', cursive;
    background-color: rgba(255, 255, 255, 0.7); /* 半透明白色背景 */
    border-radius: 25px;
    padding: 30px;
    backdrop-filter: blur(5px); /* 毛玻璃效果 */
    border: 2px solid rgba(225, 165, 0, 0.5); /* 半透明粉色边框 */
}

.info-container h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFA500;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.3);
    text-align: center;
}

/* 简化段落样式，移除小图标 */
.info-container p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333; /* 改为深色文字提高可读性 */
    text-align: left;
    padding-left: 15px; /* 减少左边距 */
}

/* 修改按钮容器样式 */
.info-container .button-group {
    display: flex;
    justify-content: center;
    gap: 20px; /* 按钮间距 */
    margin-top: 30px;
}

/* 调整按钮样式 */
.info-container button {
    padding: 15px 30px;
    font-size: 20px;
    cursor: pointer;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 165, 0, 0.3);
    flex: 1; /* 让按钮平均分配宽度 */
    max-width: 200px; /* 设置最大宽度 */
}

/* 申请领养按钮 */
.info-container button:first-child {
    background-color: #FFA500;
    color: white;
}

/* 取消按钮 */
.info-container button:last-child {
    background-color: #f0f0f0;
    color: #666;
}

.info-container button:hover {
    transform: scale(1.05);
}

.info-container button:first-child:hover {
    background-color: #FFA500;
}

.info-container button:last-child:hover {
    background-color: #e0e0e0;
}

/* 轮播图指示器样式 */
.slick-dots {
    bottom: 20px;
}

.slick-dots li button:before {
    font-size: 14px;
    color: rgba(255, 105, 180, 0.5);
}

.slick-dots li.slick-active button:before {
    color: #ff69b4;
}